package spotGUI.firstRunGUI;

import java.awt.BorderLayout;
import java.awt.Color;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.SwingConstants;
import javax.swing.border.EmptyBorder;
import java.util.ResourceBundle;

public class SupportPanel extends JPanel {
	private JTextArea txtrSeHaiProblemi;
	private JLabel image;

	/**
	 * Create the panel.
	 */
	public SupportPanel() {
		setBorder(new EmptyBorder(10, 10, 0, 10));
		setLayout(new BorderLayout(0, 0));
		
		txtrSeHaiProblemi = new JTextArea();
		txtrSeHaiProblemi.setBorder(new EmptyBorder(15, 15, 15, 15));
		txtrSeHaiProblemi.setOpaque(false);
		txtrSeHaiProblemi.setBackground(new Color(0,0,0,0));
		txtrSeHaiProblemi.setWrapStyleWord(true);
		txtrSeHaiProblemi.setEditable(false);
		txtrSeHaiProblemi.setLineWrap(true);
		txtrSeHaiProblemi.setText(ResourceBundle.getBundle("spotGUI.firstRunGUI.messages").getString("SupportPanel.txtrSeHaiProblemi.text")); //$NON-NLS-1$ //$NON-NLS-2$
		add(txtrSeHaiProblemi, BorderLayout.CENTER);
		
		image = new JLabel("");
		image.setVerticalAlignment(SwingConstants.TOP);
		image.setIcon(new ImageIcon(SupportPanel.class.getResource("/images/Icons/128x128px/info.png")));
		add(image, BorderLayout.EAST);

	}

}
